.search-container {
width: 100%;
height: 100%;
grid-area: search;
display: flex;
justify-content: center;
align-items: center;
}
.search-container .searchbox {
position: relative;
display: block;
width: 100%;
max-width: 53px;
transition: 0.4s linear;
overflow: hidden;
}
.search-container .searchbox .searchbox__input {
display: block;
appearance: none;
width: 100%;
border: none;
outline: none;
border-radius: 50px;
background-color: #24233A;
padding: 15px;
color: #24233A;
font-size: 20px;
cursor: pointer;
transition: 0.4s linear;
}
.search-container .searchbox .searchbox__input::placeholder {
color: #24233A;
}
.search-container .searchbox .searchbox__icon {
position: absolute;
right: calc(53px / 2);
top: 50%;
transform: translate(50%, -50%);
width: 20px;
height: 20px;
pointer-events: none;
}
.search-container .searchbox .searchbox__icon path {
fill: var(--col3);
transition: 0.4s linear;
}
.search-container .searchbox:focus-within {
max-width: 300px;
}
.search-container .searchbox:focus-within .searchbox__input {
background-color: #FFF;
padding-right: 50px;
box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.4);
}
.search-container .searchbox:focus-within .searchbox__icon path {
fill: #24233A;
}


/* Search */
#search-form {
    height: 100%;
    width: 100%;

    text-align: center;
    justify-content: center;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "body"
                        "button";
}

#search-form .body {
    grid-area: body;

}

#search-form .search-submit {
    grid-area: button;

}

.search-wrapper {
    grid-area: search;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}


.school-cards {
    border-top: 1px solid;
    padding-top: 10px;
    width: 100%;
    height: 100%;
    display:grid;
    grid-area: cards;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .25rem;
    margin-top:1rem;

    overflow-y: scroll;
    overflow-x: hide; 
    max-height: 90vh;
}

@media (min-width: 600px) {
    .school-cards {
        overflow-y: hide;
        overflow-x: hide; 
    }
}

.school-cards .card {
    border: 1px solid var(--col4);
    padding: .5rem;
} 

.card a {
    min-height: 100%;
    min-width: 100%; 
 
}

.card a > .header {
    min-height: 100%;
    min-width: 100%; 
    margin-bottom: .25rem;
    text-align: center;
}

.card a > .body {
    display:none;
    font-size: .8rem;
    color: #777;
}

.hide {
    display: none;
}

/* Button */
input[type="submit"] {
    grid-area: submit;
}